Skip to content

Update meta field

Request

Update the meta field of the journey in draft.

Security
TdApikeyAuth
Path
journeyIdinteger, (int64)required

Journey ID

Bodyapplication/vnd.treasuredata.v1+jsonrequired

parameters to validate a journey

attributesobjectrequired
relationshipsobjectrequired
curl -i -X POST \
  'https://api-cdp.treasuredata.com/entities/journeys/{journeyId}/detail' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/vnd.treasuredata.v1+json' \
  -d '{
    "attributes": {
      "name": "string",
      "description": "string",
      "journeyStages": [
        {
          "name": "string"
        }
      ],
      "journeyBundleName": "string"
    },
    "relationships": {
      "parentFolder": {
        "data": {
          "id": "string",
          "type": "folder-segment"
        }
      },
      "createdBy": {
        "data": {
          "id": "string",
          "type": "user"
        }
      },
      "updatedBy": {
        "data": {
          "id": "string",
          "type": "user"
        }
      }
    }
  }'

Responses

Returns a summary of the journey

Bodyapplication/vnd.treasuredata.v1+json
dataobject(JourneyJsonApiResource)required
includedArray of anyrequired
Response
{ "data": { "id": "string", "type": "journey", "attributes": { … }, "relationships": { … } }, "included": [ { … } ] }